<script setup>
import TodoList from '@/components/chapter08/base/7.5.1TodoList.vue'
import { onActivated, onDeactivated } from 'vue'

onActivated(() => {
  console.log('activated')
})

onDeactivated(() => {
  console.log('deactivated')
})
</script>
<template>
  <h4>计算属性例子</h4>
  <TodoList />
</template>
